<?php

$val = 'thu';

switch ($val)
{
  case 'sun': echo 'Sunday';break;
  case 'mon': echo 'Monday';break;
  case 'tue': echo 'Tuesday';break;
  case 'wed': echo 'Wednesday';break;
  case 'thu': echo 'Thursday';break;
  case 'fri': echo 'Friaday';break;
  default: 'No Match Found';

}

